const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  // 基本路径
  publicPath: '/',
  devServer: {
    proxy: {
      // 配置跨域
      '/api': {
        target: 'https://ir3.anbio.xyz', // 测试环境 
        ws: true,
        changOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      },
    }
  },
})
